<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libschc: schc.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libschc
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">schc.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="schc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef COMPRESSOR_CONFIG_H_</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define COMPRESSOR_CONFIG_H_</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="schc__config_8h.html">schc_config.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// protocol definitions</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="schc_8h.html#a5e211e5d295f6e70dee42f3083f89e71">    7</a></span>&#160;<span class="preprocessor">#define UDP_HLEN                8</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="schc_8h.html#afb4c1dc527be76d8f27591dfb726c023">    8</a></span>&#160;<span class="preprocessor">#define IP6_HLEN                40</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// fixed fragmentation definitions</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="schc_8h.html#aee02bb425cd8b2d526378e84db80752f">   11</a></span>&#160;<span class="preprocessor">#define WINDOW_SIZE_BITS        1</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="schc_8h.html#a63504215b1f5f5190353b62949d05635">   12</a></span>&#160;<span class="preprocessor">#define MIC_C_SIZE_BITS         1</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#if !(RULE_SIZE_BITS % 8)</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="schc_8h.html#ab264125e090b773a3c62c0587e2311f3">   15</a></span>&#160;<span class="preprocessor">#define RULE_SIZE_BYTES         (RULE_SIZE_BITS / 8)</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#define RULE_SIZE_BYTES         (RULE_SIZE_BITS / 8) + 1</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#if !(((RULE_SIZE_BITS + DTAG_SIZE_BITS) / 8) % 8)</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#define DTAG_SIZE_BYTES         ((RULE_SIZE_BITS + DTAG_SIZE_BITS) / 8)</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="schc_8h.html#a3cab569df576271706014d87c13a7845">   23</a></span>&#160;<span class="preprocessor">#define DTAG_SIZE_BYTES         ((RULE_SIZE_BITS + DTAG_SIZE_BITS) / 8) + 1</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#if !(((RULE_SIZE_BITS + DTAG_SIZE_BITS + WINDOW_SIZE_BITS) / 8) % 8)</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#define WINDOW_SIZE_BYTES       1</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="schc_8h.html#afb4b2bf43d4261b6afafc22d4d095092">   29</a></span>&#160;<span class="preprocessor">#define WINDOW_SIZE_BYTES       ((RULE_SIZE_BITS + DTAG_SIZE_BITS + WINDOW_SIZE_BITS) / 8) + 1</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structschc__bitarray__t.html">   32</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structschc__bitarray__t.html">schc_bitarray_t</a> {</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structschc__bitarray__t.html#ade1e1ad4456192600de8e783c717a377">   33</a></span>&#160;    uint8_t* <a class="code" href="structschc__bitarray__t.html#ade1e1ad4456192600de8e783c717a377">ptr</a>;</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="structschc__bitarray__t.html#a0a41ee38397469c9e263b55079d46ba9">   34</a></span>&#160;    uint32_t <a class="code" href="structschc__bitarray__t.html#a0a41ee38397469c9e263b55079d46ba9">offset</a>; <span class="comment">// in bits</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;} <a class="code" href="schc_8h.html#aeee2afb2e83587e59f955f4c7af74e07">schc_bitarray_t</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098">   37</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aba595d8bca8bc5e67c37c0a9d89becfa">   38</a></span>&#160;    <a class="code" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aba595d8bca8bc5e67c37c0a9d89becfa">UP</a> = 0, <a class="code" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098a9b0b4a95b99523966e0e34ffdadac9da">DOWN</a> = 1, <a class="code" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aa6faa6cc2b54e7dabf207ad5d989e49b">BI</a> = 2</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;} <a class="code" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098">direction</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4">   41</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ad6773d0a545d63251612fcd331aedb83">   42</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ad6773d0a545d63251612fcd331aedb83">NOTSENT</a> = 0,</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a75a19a84697dffabb0bedafeff40ffcc">   43</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a75a19a84697dffabb0bedafeff40ffcc">VALUESENT</a> = 1,</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4afe73a1b760f465a54ad7244bfe3d719d">   44</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4afe73a1b760f465a54ad7244bfe3d719d">MAPPINGSENT</a> = 2,</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ac8bd62065abff19ea8ce3ec18cf3d6fe">   45</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ac8bd62065abff19ea8ce3ec18cf3d6fe">LSB</a> = 3,</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a7e32821d42dbaeb712ced531ee118153">   46</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a7e32821d42dbaeb712ced531ee118153">COMPLENGTH</a> = 4,</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a666ff0fbe192b386d46e502fc990ce2f">   47</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a666ff0fbe192b386d46e502fc990ce2f">COMPCHK</a> = 5,</div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4af2f71f1d6b980ffce7facf81da9d38b0">   48</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4af2f71f1d6b980ffce7facf81da9d38b0">DEVIID</a> = 6,</div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4accda58d5f1e00c63e2b59ae98965b7ab">   49</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4accda58d5f1e00c63e2b59ae98965b7ab">APPIID</a> = 7</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;} <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4">CDA</a>;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0">   52</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a0c11d2df909aba3545ce3f9a0f622af4">   53</a></span>&#160;    <a class="code" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a0c11d2df909aba3545ce3f9a0f622af4">SCHC_IPV6</a> = 0,</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a466b02e6c39f7b06862f76585c085935">   54</a></span>&#160;    <a class="code" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a466b02e6c39f7b06862f76585c085935">SCHC_UDP</a> = 1,</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a4f3573a26989d766758cb30328fd9ca2">   55</a></span>&#160;    <a class="code" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a4f3573a26989d766758cb30328fd9ca2">SCHC_COAP</a> = 2</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;} <a class="code" href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0">schc_layer_t</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160; </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34">   58</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ae3a1895856e19a3160bcf36ea0712e79">   59</a></span>&#160;    <a class="code" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ada1056992e11c334d2416de8b75543f7">ACK_ALWAYS</a> = 1, <a class="code" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34abb669910db44bb35ca22cfa0987cff5f">ACK_ON_ERROR</a> = 2, <a class="code" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34a0344f277cbdd16e3f0ea0ff1d1be1b17">NO_ACK</a> = 3, <a class="code" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ae3a1895856e19a3160bcf36ea0712e79">NOT_FRAGMENTED</a> = 4</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;} <a class="code" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34">reliability_mode</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="structschc__field.html">   62</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__field.html">schc_field</a> {</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structschc__field.html#a95686cf98fe8ea0e3e613fc7b3543a9c">   63</a></span>&#160;    <span class="keywordtype">char</span> <a class="code" href="structschc__field.html#a95686cf98fe8ea0e3e613fc7b3543a9c">field</a>[32];</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="structschc__field.html#a145c083526c23e7d996829e8c2545da6">   64</a></span>&#160;    uint8_t <a class="code" href="structschc__field.html#a145c083526c23e7d996829e8c2545da6">MO_param_length</a>; <span class="comment">// indicate number of bits for MSB and LSB or list length for MATCH-MAP</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structschc__field.html#a935adff07534f10568676ffa884ea4aa">   65</a></span>&#160;    uint8_t <a class="code" href="structschc__field.html#a935adff07534f10568676ffa884ea4aa">field_length</a>; <span class="comment">// in bits</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="structschc__field.html#af44027e5add508a163aef5a0898bbb15">   66</a></span>&#160;    uint8_t <a class="code" href="structschc__field.html#af44027e5add508a163aef5a0898bbb15">field_pos</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structschc__field.html#a23f0e54fa507136cff38e313b3f064cb">   67</a></span>&#160;    <a class="code" href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098">direction</a> <a class="code" href="structschc__field.html#a23f0e54fa507136cff38e313b3f064cb">dir</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="structschc__field.html#a57e2b7f4c5ad834547014c65fcdca072">   68</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structschc__field.html#a57e2b7f4c5ad834547014c65fcdca072">target_value</a>[<a class="code" href="schc__config_8h.html#a7703530242d5d6d3884340f734fad44e">MAX_FIELD_LENGTH</a>];</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structschc__field.html#a0f1c26d5ace289022c580f62e50f42f2">   69</a></span>&#160;    uint8_t (*<a class="code" href="structschc__field.html#a0f1c26d5ace289022c580f62e50f42f2">MO</a>)(<span class="keyword">struct </span><a class="code" href="structschc__field.html">schc_field</a>* target_field, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* field_value, uint16_t field_offset);</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="structschc__field.html#a53b37bd9de93614e76640174cffa11fa">   70</a></span>&#160;    <a class="code" href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4">CDA</a> <a class="code" href="structschc__field.html#a53b37bd9de93614e76640174cffa11fa">action</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;};</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="comment">// specific protocol layer structure</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#if USE_IPv6</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structschc__ipv6__rule__t.html">   75</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__ipv6__rule__t.html">schc_ipv6_rule_t</a> {</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="structschc__ipv6__rule__t.html#a36112a2a31ff892534508a717606c3ed">   76</a></span>&#160;    uint16_t <a class="code" href="structschc__ipv6__rule__t.html#a36112a2a31ff892534508a717606c3ed">rule_id</a>;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structschc__ipv6__rule__t.html#a2bb75eef55183e6c9ed1134ecd327da5">   77</a></span>&#160;    uint8_t <a class="code" href="structschc__ipv6__rule__t.html#a2bb75eef55183e6c9ed1134ecd327da5">up</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="structschc__ipv6__rule__t.html#a5f5f494abde233a5bef29ba458434fab">   78</a></span>&#160;    uint8_t <a class="code" href="structschc__ipv6__rule__t.html#a5f5f494abde233a5bef29ba458434fab">down</a>;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structschc__ipv6__rule__t.html#a84669915815c6ef3a8f877440978a0bb">   79</a></span>&#160;    uint8_t <a class="code" href="structschc__ipv6__rule__t.html#a84669915815c6ef3a8f877440978a0bb">length</a>;</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structschc__ipv6__rule__t.html#ad20c18f0fa413fdf7905beff248378ee">   80</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structschc__field.html">schc_field</a> <a class="code" href="structschc__ipv6__rule__t.html#ad20c18f0fa413fdf7905beff248378ee">content</a>[<a class="code" href="schc__config_8h.html#ae1b67de7a1c26318d23f1c34e89fb989">IPV6_FIELDS</a>];</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;};</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#if USE_UDP</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structschc__udp__rule__t.html">   85</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__udp__rule__t.html">schc_udp_rule_t</a> {</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="structschc__udp__rule__t.html#a8c465f3a420f5e47f49cb529cbedf26d">   86</a></span>&#160;    uint16_t <a class="code" href="structschc__udp__rule__t.html#a8c465f3a420f5e47f49cb529cbedf26d">rule_id</a>;</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structschc__udp__rule__t.html#af5d158c7430785c54fdc671c4f213bab">   87</a></span>&#160;    uint8_t <a class="code" href="structschc__udp__rule__t.html#af5d158c7430785c54fdc671c4f213bab">up</a>;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="structschc__udp__rule__t.html#a0a6931ea294bc833d34cd4bfd7123bca">   88</a></span>&#160;    uint8_t <a class="code" href="structschc__udp__rule__t.html#a0a6931ea294bc833d34cd4bfd7123bca">down</a>;</div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structschc__udp__rule__t.html#a8ae436c0c8fe5c6c3abc4a9b36525f95">   89</a></span>&#160;    uint8_t <a class="code" href="structschc__udp__rule__t.html#a8ae436c0c8fe5c6c3abc4a9b36525f95">length</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="structschc__udp__rule__t.html#a6af0977f3a2d47c7e3d90877a1b45998">   90</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structschc__field.html">schc_field</a> <a class="code" href="structschc__udp__rule__t.html#a6af0977f3a2d47c7e3d90877a1b45998">content</a>[<a class="code" href="schc__config_8h.html#aed36719a087639bf1875b85276f09e55">UDP_FIELDS</a>];</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;};</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">#if USE_COAP</span></div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="keyword">struct </span>schc_coap_rule_t {</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    uint16_t rule_id;</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    uint8_t up;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    uint8_t down;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    uint8_t length;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keyword">struct </span><a class="code" href="structschc__field.html">schc_field</a> content[<a class="code" href="schc__config_8h.html#af1690024e8fe24a690d86ec4dd5d3bb6">COAP_FIELDS</a>];</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;};</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">// structure to allow generic compression of each layer</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structschc__layer__rule__t.html">  105</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__layer__rule__t.html">schc_layer_rule_t</a> {</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structschc__layer__rule__t.html#aa31f5a932f5bad8779bd715ca0e4fd4d">  106</a></span>&#160;    uint16_t <a class="code" href="structschc__layer__rule__t.html#aa31f5a932f5bad8779bd715ca0e4fd4d">rule_id</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structschc__layer__rule__t.html#a740f839ab81dbb63667d01a57fd7859f">  107</a></span>&#160;    uint8_t <a class="code" href="structschc__layer__rule__t.html#a740f839ab81dbb63667d01a57fd7859f">up</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structschc__layer__rule__t.html#afbaef5f87a4a30c4cc057dd482ff3bf3">  108</a></span>&#160;    uint8_t <a class="code" href="structschc__layer__rule__t.html#afbaef5f87a4a30c4cc057dd482ff3bf3">down</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structschc__layer__rule__t.html#afe2b4bdd16fcdf7176ce69806867af85">  109</a></span>&#160;    uint8_t <a class="code" href="structschc__layer__rule__t.html#afe2b4bdd16fcdf7176ce69806867af85">length</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structschc__layer__rule__t.html#a27ab26ce86ebe0cefb34fa5d78e90879">  110</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structschc__field.html">schc_field</a> <a class="code" href="structschc__layer__rule__t.html#a27ab26ce86ebe0cefb34fa5d78e90879">content</a>[];</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;};</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="structschc__compression__rule__t.html">  113</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__compression__rule__t.html">schc_compression_rule_t</a> {</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">#if USE_IPv6</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <span class="comment">/* a pointer to the IPv6 rule */</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structschc__compression__rule__t.html#a2a6d40fb3a91228cc8bef7f4cb1eeac8">  116</a></span>&#160;    <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structschc__ipv6__rule__t.html">schc_ipv6_rule_t</a>* <a class="code" href="structschc__compression__rule__t.html#a2a6d40fb3a91228cc8bef7f4cb1eeac8">ipv6_rule</a>;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="preprocessor">#if USE_UDP</span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    <span class="comment">/* a pointer to the UDP rule */</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structschc__compression__rule__t.html#ae807ef674bbd8baf8c3a14f1c8d84428">  120</a></span>&#160;    <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structschc__udp__rule__t.html">schc_udp_rule_t</a>* <a class="code" href="structschc__compression__rule__t.html#ae807ef674bbd8baf8c3a14f1c8d84428">udp_rule</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">#if USE_COAP</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="comment">/* a pointer to the CoAP rule */</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <span class="keyword">const</span> <span class="keyword">struct </span>schc_coap_rule_t* coap_rule;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;};</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structschc__rule__t.html">  128</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__rule__t.html">schc_rule_t</a> {</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="comment">/* the rule id */</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#acfe0360a33b8a8a2089b3f27ff6bc15a">  130</a></span>&#160;    uint8_t <span class="keywordtype">id</span>[<a class="code" href="schc_8h.html#ab264125e090b773a3c62c0587e2311f3">RULE_SIZE_BYTES</a>];</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    <span class="comment">/* a pointer to the SCHC rule */</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#a4f80dde7772774f010cb62b8ba85ded1">  132</a></span>&#160;    <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structschc__compression__rule__t.html">schc_compression_rule_t</a> *<a class="code" href="structschc__rule__t.html#a4f80dde7772774f010cb62b8ba85ded1">compression_rule</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="comment">/* the reliability mode */</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#ac7514a12feafa1bdff35354fa8df76a8">  134</a></span>&#160;    <a class="code" href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34">reliability_mode</a> <a class="code" href="structschc__rule__t.html#ac7514a12feafa1bdff35354fa8df76a8">mode</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="comment">/* the fcn size in bits */</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#a18a7c4d1dfd1b5fe6ba26b8a200b1be7">  136</a></span>&#160;    uint8_t <a class="code" href="structschc__rule__t.html#a18a7c4d1dfd1b5fe6ba26b8a200b1be7">FCN_SIZE</a>;</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    <span class="comment">/* the maximum number of fragments per window */</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#a97cd6531907ce6add0e15be15ccaaf49">  138</a></span>&#160;    uint8_t <a class="code" href="structschc__rule__t.html#a97cd6531907ce6add0e15be15ccaaf49">MAX_WND_FCN</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;    <span class="comment">/* the window size in bits */</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#a9a281fe0e60629b1cb7659e1c50c93d2">  140</a></span>&#160;    uint8_t <a class="code" href="structschc__rule__t.html#a9a281fe0e60629b1cb7659e1c50c93d2">WINDOW_SIZE</a>;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    <span class="comment">/* the dtag size in bits */</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="structschc__rule__t.html#adf3a5eedde77cd265436a59fd1fa6403">  142</a></span>&#160;    uint8_t <a class="code" href="structschc__rule__t.html#adf3a5eedde77cd265436a59fd1fa6403">DTAG_SIZE</a>;</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;};</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="structschc__device.html">  145</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__device.html">schc_device</a> {</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="comment">/* the device id (e.g. EUI) */</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="structschc__device.html#abd2a28cc06704e0d4cd144bd15d82132">  147</a></span>&#160;    uint32_t <a class="code" href="structschc__device.html#abd2a28cc06704e0d4cd144bd15d82132">device_id</a>;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    <span class="comment">/* the total number of rules for a device */</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="structschc__device.html#a299b8e74102f70b5a06f35599623b177">  149</a></span>&#160;    uint8_t <a class="code" href="structschc__device.html#a299b8e74102f70b5a06f35599623b177">rule_count</a>;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="comment">/* a pointer to the collection of rules for a device */</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="structschc__device.html#a01a34f1a1c3b7c3a7c2468d08b9d811c">  151</a></span>&#160;    <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structschc__rule__t.html">schc_rule_t</a> *(*context)[];</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;};</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; </div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">  154</a></span>&#160;<span class="keyword">typedef</span> uint8_t <a class="code" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a>[16];</div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="schc_8h.html#a871e6877df8d1bf5f1d0690d6b918f6b">  155</a></span>&#160;<span class="keyword">typedef</span> <a class="code" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a> <a class="code" href="schc_8h.html#a871e6877df8d1bf5f1d0690d6b918f6b">schc_ipaddr_t</a>;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html">  157</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structschc__udpip__hdr.html">schc_udpip_hdr</a> {</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;  <span class="comment">/* IPv6 header. */</span></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#a9c167374bdff807c90416faca0fd0de8">  159</a></span>&#160;  uint8_t <a class="code" href="structschc__udpip__hdr.html#a9c167374bdff807c90416faca0fd0de8">vtc</a>,</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#ad8129676b1dce46a80f477e6805ffb8d">  160</a></span>&#160;    <a class="code" href="structschc__udpip__hdr.html#ad8129676b1dce46a80f477e6805ffb8d">tcf</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#acfc4d79f0b72db174cb132007e8997f6">  161</a></span>&#160;  uint16_t <a class="code" href="structschc__udpip__hdr.html#acfc4d79f0b72db174cb132007e8997f6">flow</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#a0293e0116181a39114249fa125acb304">  162</a></span>&#160;  uint8_t <a class="code" href="structschc__udpip__hdr.html#a0293e0116181a39114249fa125acb304">len</a>[2];</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#afbd6e043368073995eb6dbcda8dc88b3">  163</a></span>&#160;  uint8_t <a class="code" href="structschc__udpip__hdr.html#a0d967736469d15fe827e2fa1d9cd4c7e">proto</a>, <a class="code" href="structschc__udpip__hdr.html#afbd6e043368073995eb6dbcda8dc88b3">ttl</a>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#a2723136f594e96118bc9febd14c18bbe">  164</a></span>&#160;  <a class="code" href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a> <a class="code" href="structschc__udpip__hdr.html#a2723136f594e96118bc9febd14c18bbe">srcipaddr</a>, <a class="code" href="structschc__udpip__hdr.html#a0634f2ab9d2f07bfdf4068a488dff243">destipaddr</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160; </div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;  <span class="comment">/* UDP header. */</span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#a00e1f39b3e0e36654083cb88b684679c">  167</a></span>&#160;  uint16_t <a class="code" href="structschc__udpip__hdr.html#a00e1f39b3e0e36654083cb88b684679c">srcport</a>,</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#aa78c401ab9692d0b2847ffea4ab88b0b">  168</a></span>&#160;    <a class="code" href="structschc__udpip__hdr.html#aa78c401ab9692d0b2847ffea4ab88b0b">destport</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#ae8b28908c5f876e290eb13bad98f63df">  169</a></span>&#160;  uint16_t <a class="code" href="structschc__udpip__hdr.html#ae8b28908c5f876e290eb13bad98f63df">udplen</a>;</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structschc__udpip__hdr.html#a6f0aac4ebd6cbbeaa6bb49ae4aba9677">  170</a></span>&#160;  uint16_t <a class="code" href="structschc__udpip__hdr.html#a6f0aac4ebd6cbbeaa6bb49ae4aba9677">udpchksum</a>;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;};</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="keyword">static</span> uint8_t <a class="code" href="schc_8h.html#a9991f6ae222b8d657ebb0e0b162ea282">equal</a>(<span class="keyword">struct</span> <a class="code" href="structschc__field.html">schc_field</a>* target_field, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* field_value, uint16_t field_offset);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keyword">static</span> uint8_t <a class="code" href="schc_8h.html#a394540a77045dcb0230079435b631960">ignore</a>(<span class="keyword">struct</span> <a class="code" href="structschc__field.html">schc_field</a>* target_field, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* field_value, uint16_t field_offset);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="keyword">static</span> uint8_t <a class="code" href="schc_8h.html#abd91def21b62074e08368e9bb11593d5">MSB</a>(<span class="keyword">struct</span> <a class="code" href="structschc__field.html">schc_field</a>* target_field, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* field_value, uint16_t field_offset);</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="keyword">static</span> uint8_t <a class="code" href="schc_8h.html#a5371dbc9847ed58dc760b7f028ea14e9">matchmap</a>(<span class="keyword">struct</span> <a class="code" href="structschc__field.html">schc_field</a>* target_field, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>* field_value, uint16_t field_offset);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; </div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4ad6773d0a545d63251612fcd331aedb83"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ad6773d0a545d63251612fcd331aedb83">NOTSENT</a></div><div class="ttdef"><b>Definition:</b> schc.h:42</div></div>
<div class="ttc" id="aschc_8h_html_ac6a26bb50f32ca8810179e894e284ea0"><div class="ttname"><a href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0">schc_layer_t</a></div><div class="ttdeci">schc_layer_t</div><div class="ttdef"><b>Definition:</b> schc.h:52</div></div>
<div class="ttc" id="aschc_8h_html_ac6a26bb50f32ca8810179e894e284ea0a4f3573a26989d766758cb30328fd9ca2"><div class="ttname"><a href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a4f3573a26989d766758cb30328fd9ca2">SCHC_COAP</a></div><div class="ttdef"><b>Definition:</b> schc.h:55</div></div>
<div class="ttc" id="astructschc__bitarray__t_html"><div class="ttname"><a href="structschc__bitarray__t.html">schc_bitarray_t</a></div><div class="ttdef"><b>Definition:</b> schc.h:32</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a00e1f39b3e0e36654083cb88b684679c"><div class="ttname"><a href="structschc__udpip__hdr.html#a00e1f39b3e0e36654083cb88b684679c">schc_udpip_hdr::srcport</a></div><div class="ttdeci">uint16_t srcport</div><div class="ttdef"><b>Definition:</b> schc.h:167</div></div>
<div class="ttc" id="aschc__config_8h_html_a7703530242d5d6d3884340f734fad44e"><div class="ttname"><a href="schc__config_8h.html#a7703530242d5d6d3884340f734fad44e">MAX_FIELD_LENGTH</a></div><div class="ttdeci">#define MAX_FIELD_LENGTH</div><div class="ttdef"><b>Definition:</b> schc_config.h:24</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_ae8b28908c5f876e290eb13bad98f63df"><div class="ttname"><a href="structschc__udpip__hdr.html#ae8b28908c5f876e290eb13bad98f63df">schc_udpip_hdr::udplen</a></div><div class="ttdeci">uint16_t udplen</div><div class="ttdef"><b>Definition:</b> schc.h:169</div></div>
<div class="ttc" id="astructschc__layer__rule__t_html"><div class="ttname"><a href="structschc__layer__rule__t.html">schc_layer_rule_t</a></div><div class="ttdef"><b>Definition:</b> schc.h:105</div></div>
<div class="ttc" id="astructschc__rule__t_html_a97cd6531907ce6add0e15be15ccaaf49"><div class="ttname"><a href="structschc__rule__t.html#a97cd6531907ce6add0e15be15ccaaf49">schc_rule_t::MAX_WND_FCN</a></div><div class="ttdeci">uint8_t MAX_WND_FCN</div><div class="ttdef"><b>Definition:</b> schc.h:138</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_aa78c401ab9692d0b2847ffea4ab88b0b"><div class="ttname"><a href="structschc__udpip__hdr.html#aa78c401ab9692d0b2847ffea4ab88b0b">schc_udpip_hdr::destport</a></div><div class="ttdeci">uint16_t destport</div><div class="ttdef"><b>Definition:</b> schc.h:168</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4">CDA</a></div><div class="ttdeci">CDA</div><div class="ttdef"><b>Definition:</b> schc.h:41</div></div>
<div class="ttc" id="aschc__config_8h_html_aed36719a087639bf1875b85276f09e55"><div class="ttname"><a href="schc__config_8h.html#aed36719a087639bf1875b85276f09e55">UDP_FIELDS</a></div><div class="ttdeci">#define UDP_FIELDS</div><div class="ttdef"><b>Definition:</b> schc_config.h:28</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a0634f2ab9d2f07bfdf4068a488dff243"><div class="ttname"><a href="structschc__udpip__hdr.html#a0634f2ab9d2f07bfdf4068a488dff243">schc_udpip_hdr::destipaddr</a></div><div class="ttdeci">schc_ip6addr_t destipaddr</div><div class="ttdef"><b>Definition:</b> schc.h:164</div></div>
<div class="ttc" id="astructschc__layer__rule__t_html_afe2b4bdd16fcdf7176ce69806867af85"><div class="ttname"><a href="structschc__layer__rule__t.html#afe2b4bdd16fcdf7176ce69806867af85">schc_layer_rule_t::length</a></div><div class="ttdeci">uint8_t length</div><div class="ttdef"><b>Definition:</b> schc.h:109</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4af2f71f1d6b980ffce7facf81da9d38b0"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4af2f71f1d6b980ffce7facf81da9d38b0">DEVIID</a></div><div class="ttdef"><b>Definition:</b> schc.h:48</div></div>
<div class="ttc" id="astructschc__field_html_a935adff07534f10568676ffa884ea4aa"><div class="ttname"><a href="structschc__field.html#a935adff07534f10568676ffa884ea4aa">schc_field::field_length</a></div><div class="ttdeci">uint8_t field_length</div><div class="ttdef"><b>Definition:</b> schc.h:65</div></div>
<div class="ttc" id="astructschc__rule__t_html_adf3a5eedde77cd265436a59fd1fa6403"><div class="ttname"><a href="structschc__rule__t.html#adf3a5eedde77cd265436a59fd1fa6403">schc_rule_t::DTAG_SIZE</a></div><div class="ttdeci">uint8_t DTAG_SIZE</div><div class="ttdef"><b>Definition:</b> schc.h:142</div></div>
<div class="ttc" id="aschc_8h_html_a00b61f9b90ab7065eb6a978141d7fd34"><div class="ttname"><a href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34">reliability_mode</a></div><div class="ttdeci">reliability_mode</div><div class="ttdef"><b>Definition:</b> schc.h:58</div></div>
<div class="ttc" id="astructschc__udp__rule__t_html_a6af0977f3a2d47c7e3d90877a1b45998"><div class="ttname"><a href="structschc__udp__rule__t.html#a6af0977f3a2d47c7e3d90877a1b45998">schc_udp_rule_t::content</a></div><div class="ttdeci">struct schc_field content[UDP_FIELDS]</div><div class="ttdef"><b>Definition:</b> schc.h:90</div></div>
<div class="ttc" id="astructschc__layer__rule__t_html_aa31f5a932f5bad8779bd715ca0e4fd4d"><div class="ttname"><a href="structschc__layer__rule__t.html#aa31f5a932f5bad8779bd715ca0e4fd4d">schc_layer_rule_t::rule_id</a></div><div class="ttdeci">uint16_t rule_id</div><div class="ttdef"><b>Definition:</b> schc.h:106</div></div>
<div class="ttc" id="astructschc__field_html_a145c083526c23e7d996829e8c2545da6"><div class="ttname"><a href="structschc__field.html#a145c083526c23e7d996829e8c2545da6">schc_field::MO_param_length</a></div><div class="ttdeci">uint8_t MO_param_length</div><div class="ttdef"><b>Definition:</b> schc.h:64</div></div>
<div class="ttc" id="aschc_8h_html_aeee2afb2e83587e59f955f4c7af74e07"><div class="ttname"><a href="schc_8h.html#aeee2afb2e83587e59f955f4c7af74e07">schc_bitarray_t</a></div><div class="ttdeci">struct schc_bitarray_t schc_bitarray_t</div></div>
<div class="ttc" id="astructschc__device_html"><div class="ttname"><a href="structschc__device.html">schc_device</a></div><div class="ttdef"><b>Definition:</b> schc.h:145</div></div>
<div class="ttc" id="aschc_8h_html_a9991f6ae222b8d657ebb0e0b162ea282"><div class="ttname"><a href="schc_8h.html#a9991f6ae222b8d657ebb0e0b162ea282">equal</a></div><div class="ttdeci">static uint8_t equal(struct schc_field *target_field, unsigned char *field_value, uint16_t field_offset)</div></div>
<div class="ttc" id="astructschc__rule__t_html"><div class="ttname"><a href="structschc__rule__t.html">schc_rule_t</a></div><div class="ttdef"><b>Definition:</b> schc.h:128</div></div>
<div class="ttc" id="aschc_8h_html_a00b61f9b90ab7065eb6a978141d7fd34ae3a1895856e19a3160bcf36ea0712e79"><div class="ttname"><a href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ae3a1895856e19a3160bcf36ea0712e79">NOT_FRAGMENTED</a></div><div class="ttdef"><b>Definition:</b> schc.h:59</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_acfc4d79f0b72db174cb132007e8997f6"><div class="ttname"><a href="structschc__udpip__hdr.html#acfc4d79f0b72db174cb132007e8997f6">schc_udpip_hdr::flow</a></div><div class="ttdeci">uint16_t flow</div><div class="ttdef"><b>Definition:</b> schc.h:161</div></div>
<div class="ttc" id="aschc__config_8h_html_ae1b67de7a1c26318d23f1c34e89fb989"><div class="ttname"><a href="schc__config_8h.html#ae1b67de7a1c26318d23f1c34e89fb989">IPV6_FIELDS</a></div><div class="ttdeci">#define IPV6_FIELDS</div><div class="ttdef"><b>Definition:</b> schc_config.h:27</div></div>
<div class="ttc" id="astructschc__rule__t_html_a4f80dde7772774f010cb62b8ba85ded1"><div class="ttname"><a href="structschc__rule__t.html#a4f80dde7772774f010cb62b8ba85ded1">schc_rule_t::compression_rule</a></div><div class="ttdeci">const struct schc_compression_rule_t * compression_rule</div><div class="ttdef"><b>Definition:</b> schc.h:132</div></div>
<div class="ttc" id="astructschc__layer__rule__t_html_afbaef5f87a4a30c4cc057dd482ff3bf3"><div class="ttname"><a href="structschc__layer__rule__t.html#afbaef5f87a4a30c4cc057dd482ff3bf3">schc_layer_rule_t::down</a></div><div class="ttdeci">uint8_t down</div><div class="ttdef"><b>Definition:</b> schc.h:108</div></div>
<div class="ttc" id="astructschc__compression__rule__t_html_ae807ef674bbd8baf8c3a14f1c8d84428"><div class="ttname"><a href="structschc__compression__rule__t.html#ae807ef674bbd8baf8c3a14f1c8d84428">schc_compression_rule_t::udp_rule</a></div><div class="ttdeci">const struct schc_udp_rule_t * udp_rule</div><div class="ttdef"><b>Definition:</b> schc.h:120</div></div>
<div class="ttc" id="astructschc__field_html_a95686cf98fe8ea0e3e613fc7b3543a9c"><div class="ttname"><a href="structschc__field.html#a95686cf98fe8ea0e3e613fc7b3543a9c">schc_field::field</a></div><div class="ttdeci">char field[32]</div><div class="ttdef"><b>Definition:</b> schc.h:63</div></div>
<div class="ttc" id="aschc_8h_html_a99f26e6ee9fcd62f75203b5402df8098aa6faa6cc2b54e7dabf207ad5d989e49b"><div class="ttname"><a href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aa6faa6cc2b54e7dabf207ad5d989e49b">BI</a></div><div class="ttdef"><b>Definition:</b> schc.h:38</div></div>
<div class="ttc" id="aschc_8h_html_a99f26e6ee9fcd62f75203b5402df8098"><div class="ttname"><a href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098">direction</a></div><div class="ttdeci">direction</div><div class="ttdef"><b>Definition:</b> schc.h:37</div></div>
<div class="ttc" id="astructschc__ipv6__rule__t_html"><div class="ttname"><a href="structschc__ipv6__rule__t.html">schc_ipv6_rule_t</a></div><div class="ttdef"><b>Definition:</b> schc.h:75</div></div>
<div class="ttc" id="astructschc__compression__rule__t_html"><div class="ttname"><a href="structschc__compression__rule__t.html">schc_compression_rule_t</a></div><div class="ttdef"><b>Definition:</b> schc.h:113</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4a666ff0fbe192b386d46e502fc990ce2f"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a666ff0fbe192b386d46e502fc990ce2f">COMPCHK</a></div><div class="ttdef"><b>Definition:</b> schc.h:47</div></div>
<div class="ttc" id="aschc__config_8h_html"><div class="ttname"><a href="schc__config_8h.html">schc_config.h</a></div></div>
<div class="ttc" id="astructschc__udp__rule__t_html_a8ae436c0c8fe5c6c3abc4a9b36525f95"><div class="ttname"><a href="structschc__udp__rule__t.html#a8ae436c0c8fe5c6c3abc4a9b36525f95">schc_udp_rule_t::length</a></div><div class="ttdeci">uint8_t length</div><div class="ttdef"><b>Definition:</b> schc.h:89</div></div>
<div class="ttc" id="aschc_8h_html_a7ae12886f8a1d1bcc5dadfa632050677"><div class="ttname"><a href="schc_8h.html#a7ae12886f8a1d1bcc5dadfa632050677">schc_ip6addr_t</a></div><div class="ttdeci">uint8_t schc_ip6addr_t[16]</div><div class="ttdef"><b>Definition:</b> schc.h:154</div></div>
<div class="ttc" id="astructschc__rule__t_html_a9a281fe0e60629b1cb7659e1c50c93d2"><div class="ttname"><a href="structschc__rule__t.html#a9a281fe0e60629b1cb7659e1c50c93d2">schc_rule_t::WINDOW_SIZE</a></div><div class="ttdeci">uint8_t WINDOW_SIZE</div><div class="ttdef"><b>Definition:</b> schc.h:140</div></div>
<div class="ttc" id="astructschc__rule__t_html_a18a7c4d1dfd1b5fe6ba26b8a200b1be7"><div class="ttname"><a href="structschc__rule__t.html#a18a7c4d1dfd1b5fe6ba26b8a200b1be7">schc_rule_t::FCN_SIZE</a></div><div class="ttdeci">uint8_t FCN_SIZE</div><div class="ttdef"><b>Definition:</b> schc.h:136</div></div>
<div class="ttc" id="astructschc__field_html_af44027e5add508a163aef5a0898bbb15"><div class="ttname"><a href="structschc__field.html#af44027e5add508a163aef5a0898bbb15">schc_field::field_pos</a></div><div class="ttdeci">uint8_t field_pos</div><div class="ttdef"><b>Definition:</b> schc.h:66</div></div>
<div class="ttc" id="astructschc__udp__rule__t_html_a8c465f3a420f5e47f49cb529cbedf26d"><div class="ttname"><a href="structschc__udp__rule__t.html#a8c465f3a420f5e47f49cb529cbedf26d">schc_udp_rule_t::rule_id</a></div><div class="ttdeci">uint16_t rule_id</div><div class="ttdef"><b>Definition:</b> schc.h:86</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4accda58d5f1e00c63e2b59ae98965b7ab"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4accda58d5f1e00c63e2b59ae98965b7ab">APPIID</a></div><div class="ttdef"><b>Definition:</b> schc.h:49</div></div>
<div class="ttc" id="aschc_8h_html_a871e6877df8d1bf5f1d0690d6b918f6b"><div class="ttname"><a href="schc_8h.html#a871e6877df8d1bf5f1d0690d6b918f6b">schc_ipaddr_t</a></div><div class="ttdeci">schc_ip6addr_t schc_ipaddr_t</div><div class="ttdef"><b>Definition:</b> schc.h:155</div></div>
<div class="ttc" id="astructschc__bitarray__t_html_a0a41ee38397469c9e263b55079d46ba9"><div class="ttname"><a href="structschc__bitarray__t.html#a0a41ee38397469c9e263b55079d46ba9">schc_bitarray_t::offset</a></div><div class="ttdeci">uint32_t offset</div><div class="ttdef"><b>Definition:</b> schc.h:34</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_afbd6e043368073995eb6dbcda8dc88b3"><div class="ttname"><a href="structschc__udpip__hdr.html#afbd6e043368073995eb6dbcda8dc88b3">schc_udpip_hdr::ttl</a></div><div class="ttdeci">uint8_t ttl</div><div class="ttdef"><b>Definition:</b> schc.h:163</div></div>
<div class="ttc" id="aschc_8h_html_ac6a26bb50f32ca8810179e894e284ea0a0c11d2df909aba3545ce3f9a0f622af4"><div class="ttname"><a href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a0c11d2df909aba3545ce3f9a0f622af4">SCHC_IPV6</a></div><div class="ttdef"><b>Definition:</b> schc.h:53</div></div>
<div class="ttc" id="aschc_8h_html_ac6a26bb50f32ca8810179e894e284ea0a466b02e6c39f7b06862f76585c085935"><div class="ttname"><a href="schc_8h.html#ac6a26bb50f32ca8810179e894e284ea0a466b02e6c39f7b06862f76585c085935">SCHC_UDP</a></div><div class="ttdef"><b>Definition:</b> schc.h:54</div></div>
<div class="ttc" id="astructschc__field_html_a0f1c26d5ace289022c580f62e50f42f2"><div class="ttname"><a href="structschc__field.html#a0f1c26d5ace289022c580f62e50f42f2">schc_field::MO</a></div><div class="ttdeci">uint8_t(* MO)(struct schc_field *target_field, unsigned char *field_value, uint16_t field_offset)</div><div class="ttdef"><b>Definition:</b> schc.h:69</div></div>
<div class="ttc" id="astructschc__device_html_abd2a28cc06704e0d4cd144bd15d82132"><div class="ttname"><a href="structschc__device.html#abd2a28cc06704e0d4cd144bd15d82132">schc_device::device_id</a></div><div class="ttdeci">uint32_t device_id</div><div class="ttdef"><b>Definition:</b> schc.h:147</div></div>
<div class="ttc" id="aschc_8h_html_abd91def21b62074e08368e9bb11593d5"><div class="ttname"><a href="schc_8h.html#abd91def21b62074e08368e9bb11593d5">MSB</a></div><div class="ttdeci">static uint8_t MSB(struct schc_field *target_field, unsigned char *field_value, uint16_t field_offset)</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4a7e32821d42dbaeb712ced531ee118153"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a7e32821d42dbaeb712ced531ee118153">COMPLENGTH</a></div><div class="ttdef"><b>Definition:</b> schc.h:46</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4afe73a1b760f465a54ad7244bfe3d719d"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4afe73a1b760f465a54ad7244bfe3d719d">MAPPINGSENT</a></div><div class="ttdef"><b>Definition:</b> schc.h:44</div></div>
<div class="ttc" id="astructschc__ipv6__rule__t_html_a84669915815c6ef3a8f877440978a0bb"><div class="ttname"><a href="structschc__ipv6__rule__t.html#a84669915815c6ef3a8f877440978a0bb">schc_ipv6_rule_t::length</a></div><div class="ttdeci">uint8_t length</div><div class="ttdef"><b>Definition:</b> schc.h:79</div></div>
<div class="ttc" id="astructschc__udp__rule__t_html_af5d158c7430785c54fdc671c4f213bab"><div class="ttname"><a href="structschc__udp__rule__t.html#af5d158c7430785c54fdc671c4f213bab">schc_udp_rule_t::up</a></div><div class="ttdeci">uint8_t up</div><div class="ttdef"><b>Definition:</b> schc.h:87</div></div>
<div class="ttc" id="aschc_8h_html_a394540a77045dcb0230079435b631960"><div class="ttname"><a href="schc_8h.html#a394540a77045dcb0230079435b631960">ignore</a></div><div class="ttdeci">static uint8_t ignore(struct schc_field *target_field, unsigned char *field_value, uint16_t field_offset)</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4ac8bd62065abff19ea8ce3ec18cf3d6fe"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4ac8bd62065abff19ea8ce3ec18cf3d6fe">LSB</a></div><div class="ttdef"><b>Definition:</b> schc.h:45</div></div>
<div class="ttc" id="aschc_8h_html_a00b61f9b90ab7065eb6a978141d7fd34a0344f277cbdd16e3f0ea0ff1d1be1b17"><div class="ttname"><a href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34a0344f277cbdd16e3f0ea0ff1d1be1b17">NO_ACK</a></div><div class="ttdef"><b>Definition:</b> schc.h:59</div></div>
<div class="ttc" id="aschc__config_8h_html_af1690024e8fe24a690d86ec4dd5d3bb6"><div class="ttname"><a href="schc__config_8h.html#af1690024e8fe24a690d86ec4dd5d3bb6">COAP_FIELDS</a></div><div class="ttdeci">#define COAP_FIELDS</div><div class="ttdef"><b>Definition:</b> schc_config.h:29</div></div>
<div class="ttc" id="aschc_8h_html_a99f26e6ee9fcd62f75203b5402df8098aba595d8bca8bc5e67c37c0a9d89becfa"><div class="ttname"><a href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098aba595d8bca8bc5e67c37c0a9d89becfa">UP</a></div><div class="ttdef"><b>Definition:</b> schc.h:38</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_ad8129676b1dce46a80f477e6805ffb8d"><div class="ttname"><a href="structschc__udpip__hdr.html#ad8129676b1dce46a80f477e6805ffb8d">schc_udpip_hdr::tcf</a></div><div class="ttdeci">uint8_t tcf</div><div class="ttdef"><b>Definition:</b> schc.h:160</div></div>
<div class="ttc" id="astructschc__ipv6__rule__t_html_a5f5f494abde233a5bef29ba458434fab"><div class="ttname"><a href="structschc__ipv6__rule__t.html#a5f5f494abde233a5bef29ba458434fab">schc_ipv6_rule_t::down</a></div><div class="ttdeci">uint8_t down</div><div class="ttdef"><b>Definition:</b> schc.h:78</div></div>
<div class="ttc" id="aschc_8h_html_a3e43f38d5254d1e3bbf1d0955eb98ce4a75a19a84697dffabb0bedafeff40ffcc"><div class="ttname"><a href="schc_8h.html#a3e43f38d5254d1e3bbf1d0955eb98ce4a75a19a84697dffabb0bedafeff40ffcc">VALUESENT</a></div><div class="ttdef"><b>Definition:</b> schc.h:43</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a0293e0116181a39114249fa125acb304"><div class="ttname"><a href="structschc__udpip__hdr.html#a0293e0116181a39114249fa125acb304">schc_udpip_hdr::len</a></div><div class="ttdeci">uint8_t len[2]</div><div class="ttdef"><b>Definition:</b> schc.h:162</div></div>
<div class="ttc" id="astructschc__ipv6__rule__t_html_a2bb75eef55183e6c9ed1134ecd327da5"><div class="ttname"><a href="structschc__ipv6__rule__t.html#a2bb75eef55183e6c9ed1134ecd327da5">schc_ipv6_rule_t::up</a></div><div class="ttdeci">uint8_t up</div><div class="ttdef"><b>Definition:</b> schc.h:77</div></div>
<div class="ttc" id="astructschc__field_html_a57e2b7f4c5ad834547014c65fcdca072"><div class="ttname"><a href="structschc__field.html#a57e2b7f4c5ad834547014c65fcdca072">schc_field::target_value</a></div><div class="ttdeci">unsigned char target_value[MAX_FIELD_LENGTH]</div><div class="ttdef"><b>Definition:</b> schc.h:68</div></div>
<div class="ttc" id="astructschc__rule__t_html_ac7514a12feafa1bdff35354fa8df76a8"><div class="ttname"><a href="structschc__rule__t.html#ac7514a12feafa1bdff35354fa8df76a8">schc_rule_t::mode</a></div><div class="ttdeci">reliability_mode mode</div><div class="ttdef"><b>Definition:</b> schc.h:134</div></div>
<div class="ttc" id="aschc_8h_html_a00b61f9b90ab7065eb6a978141d7fd34ada1056992e11c334d2416de8b75543f7"><div class="ttname"><a href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34ada1056992e11c334d2416de8b75543f7">ACK_ALWAYS</a></div><div class="ttdef"><b>Definition:</b> schc.h:59</div></div>
<div class="ttc" id="astructschc__udp__rule__t_html_a0a6931ea294bc833d34cd4bfd7123bca"><div class="ttname"><a href="structschc__udp__rule__t.html#a0a6931ea294bc833d34cd4bfd7123bca">schc_udp_rule_t::down</a></div><div class="ttdeci">uint8_t down</div><div class="ttdef"><b>Definition:</b> schc.h:88</div></div>
<div class="ttc" id="astructschc__udp__rule__t_html"><div class="ttname"><a href="structschc__udp__rule__t.html">schc_udp_rule_t</a></div><div class="ttdef"><b>Definition:</b> schc.h:85</div></div>
<div class="ttc" id="aschc_8h_html_a00b61f9b90ab7065eb6a978141d7fd34abb669910db44bb35ca22cfa0987cff5f"><div class="ttname"><a href="schc_8h.html#a00b61f9b90ab7065eb6a978141d7fd34abb669910db44bb35ca22cfa0987cff5f">ACK_ON_ERROR</a></div><div class="ttdef"><b>Definition:</b> schc.h:59</div></div>
<div class="ttc" id="astructschc__ipv6__rule__t_html_a36112a2a31ff892534508a717606c3ed"><div class="ttname"><a href="structschc__ipv6__rule__t.html#a36112a2a31ff892534508a717606c3ed">schc_ipv6_rule_t::rule_id</a></div><div class="ttdeci">uint16_t rule_id</div><div class="ttdef"><b>Definition:</b> schc.h:76</div></div>
<div class="ttc" id="aschc_8h_html_a99f26e6ee9fcd62f75203b5402df8098a9b0b4a95b99523966e0e34ffdadac9da"><div class="ttname"><a href="schc_8h.html#a99f26e6ee9fcd62f75203b5402df8098a9b0b4a95b99523966e0e34ffdadac9da">DOWN</a></div><div class="ttdef"><b>Definition:</b> schc.h:38</div></div>
<div class="ttc" id="astructschc__layer__rule__t_html_a740f839ab81dbb63667d01a57fd7859f"><div class="ttname"><a href="structschc__layer__rule__t.html#a740f839ab81dbb63667d01a57fd7859f">schc_layer_rule_t::up</a></div><div class="ttdeci">uint8_t up</div><div class="ttdef"><b>Definition:</b> schc.h:107</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a0d967736469d15fe827e2fa1d9cd4c7e"><div class="ttname"><a href="structschc__udpip__hdr.html#a0d967736469d15fe827e2fa1d9cd4c7e">schc_udpip_hdr::proto</a></div><div class="ttdeci">uint8_t proto</div><div class="ttdef"><b>Definition:</b> schc.h:163</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a9c167374bdff807c90416faca0fd0de8"><div class="ttname"><a href="structschc__udpip__hdr.html#a9c167374bdff807c90416faca0fd0de8">schc_udpip_hdr::vtc</a></div><div class="ttdeci">uint8_t vtc</div><div class="ttdef"><b>Definition:</b> schc.h:159</div></div>
<div class="ttc" id="aschc_8h_html_a5371dbc9847ed58dc760b7f028ea14e9"><div class="ttname"><a href="schc_8h.html#a5371dbc9847ed58dc760b7f028ea14e9">matchmap</a></div><div class="ttdeci">static uint8_t matchmap(struct schc_field *target_field, unsigned char *field_value, uint16_t field_offset)</div></div>
<div class="ttc" id="astructschc__field_html_a53b37bd9de93614e76640174cffa11fa"><div class="ttname"><a href="structschc__field.html#a53b37bd9de93614e76640174cffa11fa">schc_field::action</a></div><div class="ttdeci">CDA action</div><div class="ttdef"><b>Definition:</b> schc.h:70</div></div>
<div class="ttc" id="astructschc__compression__rule__t_html_a2a6d40fb3a91228cc8bef7f4cb1eeac8"><div class="ttname"><a href="structschc__compression__rule__t.html#a2a6d40fb3a91228cc8bef7f4cb1eeac8">schc_compression_rule_t::ipv6_rule</a></div><div class="ttdeci">const struct schc_ipv6_rule_t * ipv6_rule</div><div class="ttdef"><b>Definition:</b> schc.h:116</div></div>
<div class="ttc" id="aschc_8h_html_ab264125e090b773a3c62c0587e2311f3"><div class="ttname"><a href="schc_8h.html#ab264125e090b773a3c62c0587e2311f3">RULE_SIZE_BYTES</a></div><div class="ttdeci">#define RULE_SIZE_BYTES</div><div class="ttdef"><b>Definition:</b> schc.h:15</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a2723136f594e96118bc9febd14c18bbe"><div class="ttname"><a href="structschc__udpip__hdr.html#a2723136f594e96118bc9febd14c18bbe">schc_udpip_hdr::srcipaddr</a></div><div class="ttdeci">schc_ip6addr_t srcipaddr</div><div class="ttdef"><b>Definition:</b> schc.h:164</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html_a6f0aac4ebd6cbbeaa6bb49ae4aba9677"><div class="ttname"><a href="structschc__udpip__hdr.html#a6f0aac4ebd6cbbeaa6bb49ae4aba9677">schc_udpip_hdr::udpchksum</a></div><div class="ttdeci">uint16_t udpchksum</div><div class="ttdef"><b>Definition:</b> schc.h:170</div></div>
<div class="ttc" id="astructschc__layer__rule__t_html_a27ab26ce86ebe0cefb34fa5d78e90879"><div class="ttname"><a href="structschc__layer__rule__t.html#a27ab26ce86ebe0cefb34fa5d78e90879">schc_layer_rule_t::content</a></div><div class="ttdeci">struct schc_field content[]</div><div class="ttdef"><b>Definition:</b> schc.h:110</div></div>
<div class="ttc" id="astructschc__field_html_a23f0e54fa507136cff38e313b3f064cb"><div class="ttname"><a href="structschc__field.html#a23f0e54fa507136cff38e313b3f064cb">schc_field::dir</a></div><div class="ttdeci">direction dir</div><div class="ttdef"><b>Definition:</b> schc.h:67</div></div>
<div class="ttc" id="astructschc__field_html"><div class="ttname"><a href="structschc__field.html">schc_field</a></div><div class="ttdef"><b>Definition:</b> schc.h:62</div></div>
<div class="ttc" id="astructschc__device_html_a299b8e74102f70b5a06f35599623b177"><div class="ttname"><a href="structschc__device.html#a299b8e74102f70b5a06f35599623b177">schc_device::rule_count</a></div><div class="ttdeci">uint8_t rule_count</div><div class="ttdef"><b>Definition:</b> schc.h:149</div></div>
<div class="ttc" id="astructschc__ipv6__rule__t_html_ad20c18f0fa413fdf7905beff248378ee"><div class="ttname"><a href="structschc__ipv6__rule__t.html#ad20c18f0fa413fdf7905beff248378ee">schc_ipv6_rule_t::content</a></div><div class="ttdeci">struct schc_field content[IPV6_FIELDS]</div><div class="ttdef"><b>Definition:</b> schc.h:80</div></div>
<div class="ttc" id="astructschc__udpip__hdr_html"><div class="ttname"><a href="structschc__udpip__hdr.html">schc_udpip_hdr</a></div><div class="ttdef"><b>Definition:</b> schc.h:157</div></div>
<div class="ttc" id="astructschc__bitarray__t_html_ade1e1ad4456192600de8e783c717a377"><div class="ttname"><a href="structschc__bitarray__t.html#ade1e1ad4456192600de8e783c717a377">schc_bitarray_t::ptr</a></div><div class="ttdeci">uint8_t * ptr</div><div class="ttdef"><b>Definition:</b> schc.h:33</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
